link
git/push

Push to Remote

Update remote refs along with associated objects

git
push
remote

Command

git push

Examples

Push current branch

git push

Push to specific branch

git push origin main

Push and set upstream

git push -u origin new-branch