git push
git push [-u] [<remote> <branch>]
Risk: Careful
What it does
Sends your new commits to the remote, like GitHub.
When to use it
When your work is ready for others to see.
Example
$ git push -u origin mainFirst push: send main and remember where it goes.
$ git pushAfter the first time, this is enough.
$ git push --tagsSend your tags too.
$ git push origin --delete old-branchDelete a branch on the remote.
Learn it in: Your first push · Official docs