Command

git push

Transfer objects and request a remote ref update; -u sets upstream for successful or up-to-date branches.

Formal Syntax & Structure

git syntaxgit
git push [-u] REMOTE BRANCH

Working Example

Example Snippetgit
git push -u origin feature
Git Reference