What is git push good for?

Experience Level: Mid-level
Tags: Git

Answer

The command git push is used for sending changes from your local repository to a remote repository. All commits that weren't previously sent will be sent.

Use git push command after the git commit command. If you forget to do this, the committed changes will be only in your local repository, but they won't be visible for your team members who can see only changes that are present in the remote repository.

Related Git job interview questions
Git for beginners
Git for beginners

Are you learning Git? Try our test we designed to help you progress faster.

Test yourself