Working on an IT project (of any complexity) requires collaboration with other developers. If each person is responsible for his or her own code, the work of some can/should have an impact on that of others so that in the end the whole thing corresponds to the expected deliverable and the program works. The whole issue is therefore to succeed in working together without necessarily coordinating and to be able to keep track of the work done to go back if necessary. Git is the perfect tool for this since it was designed precisely to manage versioning during programming. It is particularly popular in organizations and services where code is developed.
Introduction to Git
Git, the version control software of a computer project.
Or how to keep track of your work in order to correct errors or easily go back to a previous version. Git facilitates the management and deployment of computer projects, whether you are alone or several. Above all, it allows everyone to move forward on their deliverables, on the one hand without depending on the progress of others, and on the other hand without fear of losing or altering the work already done.
We will see the logic of the work cycle, how to start a project and use the branches properly and of course the sharing.
Installing the tools
- Install and configure Git on your machine
- Save the history of source code modifications (and go back to a previous version if necessary, for debugging for example)
- The advantage of remote repositories. GitHub, the online platform to host Git repositories. Understand the differences between the two tools and how they interact.
- Starting a new project
How to install git on your computer
- The basic commands, including git.config
Working locally on your computer with Git
- Creating a repository, making your first commit
- Succeeding with a repository and initializing the repository in the active folder
- Index of modifications
- Displaying current changes
- Characteristics of hidden .git folders or how to lose your history
Understand the structure of the git tree. Keeping your branches clean
- The principle of branches
- Creating a branch
- Recovering a branch
- Merging branches
- Delete a branch
How to go back (e.g. in case of an error) in Git
- Fixing errors locally
- Accessing and browsing the commit history
- Using tags to simplify your life
- Correcting errors on a remote repository
- Git reset
- Failed commit, how to fix it
How to run successfully with remote repositories
- Discover the different cloud services: GitHub, Gitlab and Bitbucket
- Moving local changes to the remote repository.
- Initialize the remote repository.
- Manage files to ignore (e.g. binaries).
- Pushing your commits
How to collaborate in team with Git
- Approaching versioning or how to organize work teams around Git
- Sharing source code with gists
- Modifying branches
- Cleaning up branches
- Keep track of changes and filter them
- Integrate external repositories into your own
- Merging files and commits
How to publish code to a remote server
- Updating code from a remote server
- Resolving conflicts
What is the GitFlow model
- Using gitflow and pull requests.
Introduction to continuous integration
If you have any questions about registration, cancellation, schedules, language of instruction, etc. you will find answers in our FAQ.