git push Upload local code to GitHub

This lesson is available for PRO members or as a single course purchase. Sign-in and choose a plan below.
Get Unlimited PRO Access


*Enrollment provides full access to this course (and updates) for life.

Use git push to upload your local code to GitHub.

command line
git push origin master

Note: the -u flag is used to set origin as the upstream remote in your git config so git pull can be used without any arguments in the future.

Q&A Chat