Version Control and Team Collaboration with Git

1 day
UGIT
1 days

Upcoming Sessions

Date:

Format:

Price:

Location:

Book now

Date:

Format:

Price:

Location:

Book now

Date:

Format:

Price:

Location:

Book now

Date:

Format:

Price:

Book now

Interested in a private company training? Request it here.

Azure DevOps vs. GitHub

Azure DevOps is the collaboration hub offered by Microsoft for everyone in the development team, including project managers, testers, architects, developers and end-users. Likewise, GitHub is used mainly for open source projects.

  • Introduction to Azure DevOps
  • Using GitHub
  • LAB: Creating and configuring your project

Using Git

Sources are probably the most important part in any software project and we need a way to keep track of all sources and all changes. Azure Repos gives you the choice between TFVS and Git for storing your source history, branching, merging and everything else required. Here we discuss Git source control.

  • Version Control concepts
  • Distributed Source Control with Git
  • Git Clients: Command Line, Visual Studio or Visual Studio Code
  • Creating a local repository
  • Configuring your git repository
  • Checking the status of your repo
  • Staging files
  • Committing files, and then amending it
  • Comparing changes in files
  • Reverting commits
  • Finding the bad change using git bisect
  • LAB: Working with a local repository

Team collaboration with remote repositories

Multiple developers working on the same code base requires a central place for all your team's code and changes. In Git these are known as remote repositories. Here we discuss team collaboration with Git.

  • Team collaboration with remote repositories
  • Cloning a remote repository
  • Synchronizing with a remote repository
  • Resolving conflicts
  • Using Git Hooks
  • LAB: Working with remote repositories

Working in isolation with branches

How can we avoid code changes from one developer interfering with code from others? Branching has always been used to allow developers to complete their changes before integrating them with others.

  • Adding branches to your workflow
  • Branching Strategies - Using GitFlow
  • Merge vs. Rebase - keeping a linear history
  • Different Merge Strategies, i.e. Squash Merge
  • Managing your branches
  • LAB: Working with branches in git

Team Collaboration with Pull Requests

Working as a team on the same codebase comes with its own challenges. Factors like false cognates, code conventions, SOLID principles, etc., could result in good or bad code quality. Pull requests allow you to ensure that your code maintains its high quality.

  • Protecting your branches with pull requests
  • Ensuring high quality code with Pull Requests
  • Versioning with Git Tags
  • Using Forks
  • LAB: Team collaboration with Pull Requests

In this training, you will gain the ability to efficiently manage and track changes in your codebase, collaborate seamlessly with team members, and maintain a clean project history. By the end of the training, you will be proficient in making commits, performing pull requests, handling complex branching strategies, resolving conflicts, ensuring robust version control and streamlined development processes.

This course is designed for developers and IT professionals aiming to master version control with Git both in Azure DevOps and GitHub.

Contact Us
  • Address:
    U2U nv/sa
    Z.1. Researchpark 110
    1731 Zellik (Brussels)
    BELGIUM
  • Phone: +32 2 466 00 16
  • Email: info@u2u.be
  • Monday - Friday: 9:00 - 17:00
    Saturday - Sunday: Closed
Say Hi
© 2024 U2U All rights reserved.