git commands how to push code example
Example 1: git push command line
1. git init
2. git add .
3. git status
4. git commit -m 'your message'
5. git remote add origin 'your_url_name'
6. git push -u origin master //then login w/ your creds
Example 2: git commit and push command
$ git push origin your-branch
# Pushes the changes in your local repository up to the remote repository you specified as the origin