There is a simple but extremely useful tool to work with Git. It is not a graphic interface nor an IDE plugin. It is just an extension to the shell. It is called oh-my-zsh and, among other things, it provides a feature that shows the current git branch you are working on, when you are browsing a git directory.
To install this tool, you just have to follow these simple steps:
- The tool is an extension to zsh shell, so you have to start by installing zsh: apt-get install zsh
- Then you could want to set zsh as you default shell: chsh -s /bin/zsh <user_name>
- Install oh-my-zsh: curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
- Close the terminal and restart you OS session
That is all, you are done!.