It happens because Sourcetree didn’t get some private access from Github while authenticating. So the solution is very simple.
-
Login to your Github account on any browser.
-
From the top right corner select SETTINGS.
-
Now select DEVELOPER SETTINGS.
-
From DEVELOPER SETTINGS select PERSONAL ACCESS TOKEN.
-
Now from PERSONAL ACCESS TOKEN select GENERATE TOKEN.
-
Fill Note as
Sourcetree
and Check All Scopes from the checkbox as shown in the below screenshots. -
After Click on Generate Token.
-
Now Open Sourcetree.
-
Click on Options in Tools menu & Click add Account.
-
Select options as shown below screenshot.
-
Enter username as your Github account username and password as Generated Token from Github.
-
Click on SAVE now you might see all your repository are visible and can clone too.
Hope it helps.