How to put a new project to github with SourceTree



I have made a new project on my computer. I want to put it into a new project I made on github,

How do I tell sourcetree to do this ? 

2 answers

Hi @roelof wobben


You need to configure your remote repository on GitHub with your local repository on your machine.

It is an easy process which needs following steps to be followed taking into consideration that you have gitHub repository already set.


1.Add a remote to your repository(local)

   a. click on repository.

   b. In repository explorer check for "Remote" tab

   c. Right click -> add remote

   d. click "add" from pop up screen, fill out required information

        remote name :- could be anything(alias)

        URL :- repo on git hub

   e. In extended information you can select github as hosting type followed by username for further authentication


2.once a remote set has done you can commit and push code to github server.


hope that answers your question!






Thank you. Just what I needed.

0 votes


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

1,204 views 4 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you