Quick summary
To link Sourcetree to GitHub, you navigate to the Remote Accounts settings, add a new account using HTTPS and OAuth, and save the connection to enable seamless repository access. This setup lets developers manage GitHub repositories directly inside Sourcetree without using the command line.
Steps
- Go to the Remote section of your Sourcetree application.
- Open the Accounts tab and click + Add an account.
- Select GitHub as your hosting service.
- Choose HTTPS as your preferred protocol.
- Click Refresh OAuth Token to paste your GitHub token.
- Click OK to save the hosting account.
- Confirm that Sourcetree is now successfully linked to your GitHub account.



