Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 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...

7,267 views 5 14
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you