Git Windows shell and command line tools

TortoiseGit is a Git Windows shell integration that is very easy to use.

Download 64 bit TortoiseGit from

Once Windows Explorer is restarted the TortoiseGit menus are available.

Often used Git commands to get latest updates (“Git Sync…”) or storing your updates (“Git commit -> master”) are available in the top menu, while other special commands to create new repositories or change TortoiseGit settings are in the submenu (“TortoiseGit”).

If you prefer a Gui similar to GitGraken for staging new files, select the (“Git GUI here”) in the folder with your files.

If you prefer using Git command line tools, select the (“Git Bash here”). Commands like “git status” will show any untracked or added files. Type “git help” to see full list of commands.

When working with Git repositories you can type your password every time or create an SSH key for your Git account.

Open “Git Bash” command line tool and enter the command

ssh-keygen -t rsa -C “your git account email address”

When prompted to enter passphrase leave it blank and press enter.
Enter the same phrase again (leave it blank) and press enter.
Copy the file content from where it is residing in your current system folder to C:\Users\<username>\.ssh with:

cp “id_rsa” “$HOMEDRIVE$HOMEPATH\.ssh”


then copy public file contents to clipboard:

cat “$HOMEDRIVE$HOMEPATH\.ssh\” | clip

Login to your BitBucket account and click top right most user icon and BitBucket settings and SSH keys under security menu. Add new SSH key and give it a name, then paste clipboard content into key field and save it.

Before we can use this new SSH key we need to convert it to Putty key format. Start C:\Program Files\PuTTY\puttygen.exe and under the menu Convertions import the private key “id_rsa”. Choose “Save public key” and “Save private key” to save these in Putty key format in the same folder, under a name like “putty_rsa.ppk” for the private and “” for the public key.

In your local Git repository work folder, open TortoiseGit settings and under Git, Remote and origin, set the Putty key to the private putty key “putty_rsa.ppk” that you just created.

If you have not yet cloned a local work copy of your repository, you can press the “Clone” button in BitBucket for your repository to get the command line needed to clone it. It will be something similar to:

git clone

Have fun working with Git Bash command line and GUI tools.