Logo of Git

Git is a distributed version-control system for tracking changes in source code during software development, created by Linus Torvalds in 2005 for development of the Linux kernel. It is designed for coordinating work among programmers, but it can be used to track changes in any set of files. Its goals include speed, data integrity, and support for distributed, non-linear workflows [clarification needed].

If you have used the kayofeld script, you are a winner.

After creating your repo, you will have to clone it using:

$ git clone surname.name@git.epitech.eu/surname.name@git.epitech.eu/repo_name

If you are not the owner of the repo, replace the second surname.name by the owner login.

Now you can create a file/folder and start working. You have to use these three commands every time you want to update your repe on the server.

git add your_file // you can use `.` to add all the modified files
git commit -m "commit_message"
git push origin master

If you are working with someone on the project, you can retrieve the changes from the server with:

git pull

There are a lot of git commands to manage your code. Especially when you are working on a project together. You can see a summary of the commands you can use on these sites.