How to set up a git repository between a website server and a local computer?

This are the steps to set up a repository between a website hosted on a server and a folder on your local computer. First, git must be set up on both the server and the local computer On the local computer, it’s easy, I just installed Github and that was it. I had created a …

What is a repository on Git?

A repository is this set of folders that is tracked and synchronized. Contributing to the repository means changing it: adding or removing files, or editing them. Usually, the repository encompasses all the files related to a project. It’s thus connected to the highest-level folder of the project. Git creates a subfolder called “git” within this …