Install it in directory gitils in your home directory.
Run to install the alias
aliases.shConfigure it globally
git config --global init.templatedir ~/gitils/templateand then for your existing projects, just reinit each of them with git init.
Or configure it project by project:
git init --template ~/gitils/templateThe hook automatically prepen the commit message with the name of the feature
branch. A feature branch is identified according the the format feature/<name>.
Dashes and underscores are replaced by space.
The project bash-git-prompt will give you a great informative prompt in Bash (current repository and branch, number of files staged or changed, etc.).