So, as I was working on a project required by an online course I am currently following, I hit quit an interesting problem: I couldn't push my work to my Github repository. The reason being SourceTree kept asking for the password. Reason: Using two factors authentication with Github requires creating a personal token and using it with SourceTree. Github documentation Step I In your Github account, click on your user name and select settings Step II Select the Developer settings in the left sidebar Step III Select the Personal access tokens in the left sidebar Step IV Click the Generate new token button Step V Set a name to your token and select the scope you'd like to grant StepVI Copy the generated key and paste it as a password in SourceTree. Et voila!