Summary
In this chapter, we explored how local repositories can connect to the remotely hosted repository. In regard to branch protection, we implemented checks to police the integration of changes, by laying down measures that are taken into account when merging work into the repository's branch. We covered the git push
, git fetch,
and git pull
commands, which facilitate the retrieval of changes and uploading the changes to the shared repository. Finally, we explored the git revert
and git reset
commands, which rescind changes.
In the next chapter, you will create, navigate, and delete branches. You will also merge changes and resolve issues via pull requests.