EL358
Information technology

Git : Using a source code repository in your projects

Learn Git: version control, branching, merging, remote repositories, and workflows to collaborate efficiently on development projects.

Working without a version control system is like walking a tightrope without a net. Git has become the industry standard, but when used incorrectly, it becomes a source of conflicts and code loss. This training covers the fundamentals and best practices of Git: repositories, commits, branches, merges, tags, and collaboration via remote repositories. With concrete demonstrations and hands-on practice, you'll turn these commands into second nature.

Is it for you ?

Developers.

Prerequisites

Hands-on experience in software development, ideally in a team of several developers is a plus.

What You'll Walk Away With

  • Manage your code history with confidence using essential Git commands
  • Work effectively in a team using branches and remote repositories
  • Apply Git best practices in a real professional context

Training content

1 Presentation and concepts

  • Version management
  • SCM
  • DVCS vs CVCS
  • Centralized systems (CVS, SVN)
  • Distributed systems: Git
  • Advantages of a distributed system
  • Git
  • Understanding how Git works
  • Vocabulary
  • States of a file with Git
  • Representation of the states of a file
  • Some resources on Git

2 Installing Git

  • Installing Git
  • Installation under Linux
  • Installation under macOS
  • Installing on Windows
  • The command line
  • The help
  • Git configuration
  • The user identity
  • The text editor
  • An HTTP(S) proxy
  • The aliases
  • Demonstration - Git installation
  • Practical work to be done

3 The basics of Git

  • Working folder vs Git repository
  • The Git repository
  • Adding files to the repository
  • Validating files in the repository
  • git commit: best practices
  • File states
  • File status life cycle
  • Example: git status
  • Managing file changes
  • Demonstration - Creating and organizing a first Git repository
  • The history of a Git repository
  • The revisions
  • Viewing the history
  • Files in the history
  • git log and git show
  • Commits in the history
  • Viewing differences in the history
  • Deleting changes
  • Commands in the history
  • Ignoring files
  • Example of a .gitignore file
  • Delete unversioned files
  • Other useful commands
  • Demonstration Manipulating the history of a Git repository
  • Practical work to be done

4 Tags

  • What is a tag ?
  • Good practices for using tags
  • Version numbering
  • The different types of tags
  • Creating a tag
  • List the tags and their information
  • Delete a tag
  • Demonstration Creating tags
  • Practical work to be done

5 The branches

  • What is a branch ?
  • Organization of branches
  • Example of organization
  • The MASTER branch
  • Best practices for using branches
  • Working with branches
  • Changing branches
  • Demonstration - The branches
  • Putting changes aside
  • The git stash command
  • Demo - Modifying a branch
  • Merging branches
  • The merge
  • Example : merge commit
  • Fast forward
  • Delete a branch
  • Rebasing
  • git rebase
  • Merge conflicts
  • Demonstration - Merging branches
  • Work to be done

6 Git and centralized repositories

  • What is a remote repository ?
  • Remote repository - Usage scenario : setting up
  • Remote repository - Usage scenario : use
  • The Git cycle : synthesis of commands
  • The exchange protocols
  • Cloning a remote repository
  • Internal operation and remote branches
  • Adding a remote repository for a local repository
  • Sending changes
  • Receiving changes
  • Other remote operations
  • Demo - Remote Repository
  • Summary
  • Practical work to be done

7 Git tools

  • Hosting solutions
  • Graphical tools
  • Git-gui
  • Gitk
  • TortoiseGit
  • GitKraken
  • Demonstration - GitKraken

8 Git - Master Your Release Management (concepts, usage and case studies) (3rd edition)

  • Git and version management
  • Installing Git
  • Creating a repository
  • Handling files and committing
  • Consulting and manipulating the history
  • Branches and tags
  • Sharing a repository
  • Git-Flow : enterprise workflow
  • Git tools
  • Independent developer scenario
  • Team scenario
  • Maximum productivity with Git
  • Git in continuous deployment
  • Checklist
See more

📌 Practical information

100% online training. Accessible anytime from anywhere for one year. If you have any questions about registration, the language of instruction, or the cancellation terms, please consult our FAQ

Trainers

Upcoming information
Duration
14.0 hours
Regular fee
$250
Private or personalized training

Do you have several employees interested in the same training course? Whether in person at your offices or remotely in virtual mode, we offer private training courses tailored to your team's needs. Group rates are available. Contact us for more details or request a quote online.

Request a quote

Request in-company training

Do you have several employees interested in the same training course? Whether in person at your offices or remotely in virtual mode, we offer private training courses tailored to your team's needs. Group rates are available. Contact us for more details or request a quote online.

Tell us more
Added to cart View my cart