When working SourceTree to deal with a Git repository (that I created in https://bitbucket.org) it kept asking for my Git Credentials as shown below. So it got very annoying and I had to do something about it. Here’s a solution to permanently save your Git username ad password, therefore you don’t need to enter it every time you push/pull or clone.
The entire Pro Git book, written by Scott Chacon and published by Apress, is available here.
For our private repositories, Bitbucket seems to be a better choice compared to GitHub because the pricing model is cheaper. Here’s a comparison of the two: Link
Next step is to create an account on Bitbucket.. follow the instructions.