Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools GitHub Basics Working By Yourself Push Your Project to GitHub

"git push origin master" this command not work

Hi today i have start learning github when we start to add our project on workspace from github for this i use command "git push origin master " but its not work please help me

Hi Raj, Was git initialized? Were the files added/committed before attempting to push?

Ezra Siton
Ezra Siton
12,644 Points

Add the error you get (No way to know your problem like this).

1 Answer

Dan Weru
Dan Weru
47,649 Points

Hi Raj, are you pushing for the first time? If this is the case, make sure that your password and username match. Also

git push -u remote origin