Getting Started With Node – Course

Pushing Code to Github

Let’s push our code to Github. Go to and create a new repository. Copy the repository path.

Assuming you have Git installed in your machine. Switch to the project directory and execute these commands one by one.

git init
git add .
git commit -m “first push”
git remote add origin << github repo URL >>
git push origin master

Once your code is pushed to a Github, we can now deploy it in your server.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.