TortoiseGit is a Git Windows shell integration that is very easy to use.
Download 64 bit TortoiseGit from https://tortoisegit.org/download
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 id_rsa.pub file content from where it is residing in your current system folder to C:\Users\<username>\.ssh with:
cp “id_rsa” “$HOMEDRIVE$HOMEPATH\.ssh”
cp “id_rsa.pub” “$HOMEDRIVE$HOMEPATH\.ssh”
then copy public file contents to clipboard:
cat “$HOMEDRIVE$HOMEPATH\.ssh\id_rsa.pub” | 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 “putty_rsa.pub” 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 https://email@example.com/lisbergio/private.git
Have fun working with Git Bash command line and GUI tools.