- Dowload and install git for windows https://git-scm.com/downloads
- Download cmdr mini from http://cmder.net/ and unzip to a safe location
Icon file
/icon "C:\Program Files\Git\mingw64\share\git\git-for-windows.ico"
Command
C:\Program Files\Git\usr\bin\bash.exe --login -i -new_console:a
Follow the instructions at to generate ssh and copy the start ssh agent script to .bashrc file and restart the bash to create profile properly.
https://help.github.com/articles/working-with-ssh-key-passphrases/
- Add .bashrc file and insert contents at https://help.github.com/articles/working-with-ssh-key-passphrases/
- Open up prompt and clone repo at user's (same folder where .bashrc and .ssh folders are created during above operation) folder
git clone https://github.com/magicmonty/bash-git-prompt.git .bash-git-prompt --depth=1
- Edit .bashrc file one more time and add the line at the end of file
GIT_PROMPT_ONLY_IN_REPO=1 source ~/.bash-git-prompt/gitprompt.sh