Fix git branch deducing in bashrc