basic-git

🤔 What’s Git?

_Git is a distributed version control system that tracks changes in any set of computer files._ Git is often used to update GitHub projects from the machine to the server by specific codes.

💻 How to write a Git command?

⌨️ Commands

Create the repository

Then write the three commands that appear on your repository. They look like this:

To update again:

git add .
git commit -m "message"
git push origin main

Just this!

Your repository was changed by a collaborator, how to update your LOCAL CODE

git fetch
git pull

Creates a connection to the GitHub server and changes your code to match your project.

Now you can use the basics Git commands!

📖 Sources