EVE-NG Linux VM SSH troubleshooting
September 20, 2025
Collaborating with Git by working with remote repositories and forks
In the previous post, we covered the basics of using Git locally. Now, let’s dive into real-world scenarios and learn how to collaborate using Git with remote repositories.
When working with remote repositories, we gain access to some new functionalities:
- clone: allows us to create a local copy of a remote repository.
- pull: lets us update our local branch with changes from the remote.
- push: enables us to update the remote branch with our local changes.
Typically, pull and push actions are not allowed directly on the main branch. This forces us to always create a new branch for our changes, which we’ll then merge into the main branch.
Moreover, we often don’t have permission to create branches on repositories we don’t own. This requires us to create a fork, which is a copy of the entire repository we want to work on. We can then create a branch on this new repository, make our changes, and request (via a Pull Request or PR) that the original repository merges our changes.
But let’s take it step by step.
Origin
First, let’s clone a repository of our choice:
Continue reading the post on Patreon .