Pushing commits to a remote repository→
Use git push
to push commits made on your local branch to a remote repository.
Getting changes from a remote repository→
You can use common Git commands to access remote repositories.
Dealing with non-fast-forward errors→
Sometimes, Git can't make your change to a remote repository without losing commits. When this happens, your push is refused.