⇦ Back to: Commit | ⇧ Overview | ⇨ Next: Create Pull Request
You can share your branch (and all of the commits required to recreate its history) by pushing it to GitHub.
Click the "Publish Branch" button at the top of the UI

Switch to the branch you would like to push:
git switch branch-you-want-to-pushCheck you're on the correct branch by running and checking the output from:
git statusOnce you're on the correct branch, push it by running:
git push -u origin💡
-umeans "set the upstream branch forgit pullandgit status."
- Whenever you run the command
git pullin future,gitwill automatically pull from the remote branch you created.- Similarly, when you run
git status,gitwill check whether your local branch is up-to-date with this remote branch.