Advanced Git Workflows for Developers
Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.
Ask Coursera
Recommended experience
Recommended experience
What you'll learn
Use Git confidently to track changes, manage commits, and implement effective branching and merging strategies.
Automate repetitive tasks using Git hooks and aliases, and troubleshoot issues using powerful commands like git bisect.
Connect Git to CI/CD pipelines, adopt GitOps practices, and manage large codebases with performance-focused techniques.
Ensure Git repo security with GPG signing, protected branches, and use debugging tools to troubleshoot issues.
Skills you'll gain
Tools you'll learn
Details to know
See how employees at top companies are mastering in-demand skills
There are 4 modules in this course
This course takes you through the journey of Git, starting with the basics of tracking changes, staging files, and committing updates. Then, you’ll explore more advanced features like branching, merging, and rebasing to enhance team collaboration.
Through practical demonstrations, you’ll automate tasks with Git hooks and aliases, debug issues using git bisect, and apply recovery strategies. The course also covers security practices like signed commits and protected branches. You’ll also integrate Git into CI/CD pipelines with GitHub Actions, manage infrastructure using GitOps, and handle large repositories with submodules and worktrees. Additionally, you’ll explore Git internals, such as packfiles and garbage collection. By the end of this course, you will be able to: - Use Git confidently for collaboration - Automate workflows and recover from errors - Apply Git in DevOps and large-scale projects - Understand internal Git processes This course is designed for developers, DevOps engineers, and software professionals who are looking to enhance their skills in and version control strategies for enhanced collaboration and streamlined software delivery. Basic programming knowledge and familiarity with version control concepts are recommended. Join us to discover how mastering Git can enhance your development processes, streamline collaboration, and support seamless version control in your projects.
In this module, learners will build a solid foundation in Git, covering core concepts like working directories, staging, and committing. They will explore advanced branching strategies and workflow models such as Gitflow and trunk-based development, with best practices for collaboration and clean commit history.
What's included
17 videos6 readings4 assignments1 discussion prompt
17 videos•Total 77 minutes
- Course Introduction•4 minutes
- What is Version Control?•6 minutes
- Types of Version Control Systems•5 minutes
- How Git Works?•6 minutes
- Understanding Git Workflow (Working Directory, Staging, Committing) - Demonstration•4 minutes
- Exploring Git Commit History - Demonstration•4 minutes
- Introduction to Git Branching•4 minutes
- Creating and Switching Between Branches - Demonstration•4 minutes
- Merging Strategies•7 minutes
- Merging Strategies and Resolving Merge Conflict - Demonstration•6 minutes
- Rebasing and Cherry-Picking Commits•4 minutes
- Cherry Picking in Git - Demonstration•5 minutes
- Interactive Rebase in Git•4 minutes
- Interactive Rebase in Git - Demonstration•4 minutes
- Gitflow Workflow•4 minutes
- Squashing Commits for Clean History•3 minutes
- Stashing, Reverting, and Resetting•4 minutes
6 readings•Total 110 minutes
- Welcome to Advanced Git Workflows for Developers•10 minutes
- Installing and Configuring Git on Ubuntu Linux•15 minutes
- Branch Naming Conventions and Best Practices in Collaborative Projects•15 minutes
- Comparing Git Workflow Models: Gitflow vs GitHub Flow vs Trunk-Based Development•20 minutes
- Summary: Git Essentials and Branching Strategies•5 minutes
- Practice Project: Feature Branch Workflow and Commit History Cleanup•45 minutes
4 assignments•Total 48 minutes
- Practice Quiz: Git Basics and Setup•6 minutes
- Practice Quiz: Git Branching, Merging, and Rebasing•6 minutes
- Practice Quiz: Advanced Rebase and Workflow Models•6 minutes
- Knowledge Check: Git Essentials and Branching Strategies•30 minutes
1 discussion prompt•Total 5 minutes
- Introduce Yourself•5 minutes
In this module, learners will master automating and securing Git workflows while handling common recovery tasks. They’ll implement Git hooks, custom aliases, and debugging tools like git bisect, along with best practices for repository security such as GPG-signed commits and branch protection.
What's included
11 videos6 readings4 assignments
11 videos•Total 51 minutes
- Introduction to Git Hooks•4 minutes
- Writing Custom Git Hooks - Demonstration•5 minutes
- Optimizing Git Commands with Aliases•4 minutes
- Creating Custom Git Commands with Aliases - Demonstration•5 minutes
- Recovering from Mistakes in Git - Demonstration•6 minutes
- Using the Git Bisect Command for Debugging•5 minutes
- Finding Bugs with Git Bisect - Demonstration•5 minutes
- Using Protected Branches and Code Owners Part 1 - Demonstration•5 minutes
- Using Protected Branches and Code Owners Part 2 - Demonstration•4 minutes
- Understanding GPG Signed Commits•4 minutes
- Monitoring Git Repositories for Security Threats•4 minutes
6 readings•Total 115 minutes
- Real-World Use Cases of Git Hooks in CI/CD, Security, and Project Management•20 minutes
- Visualizing Git History for Easier Debugging•20 minutes
- Setting Up GPG Keys for Commit Signing•20 minutes
- Verifying Contributor Identity with Sigstore and Alternatives to GPG•20 minutes
- Summary: Git Automation, Security, and Debugging•5 minutes
- Practice Project: Git Quality Enforcement and Debugging•30 minutes
4 assignments•Total 48 minutes
- Practice Quiz: Automating Git Workflows•6 minutes
- Practice Quiz: Debugging and Recovery Techniques•6 minutes
- Practice Quiz: Repository Security and Signed Commits•6 minutes
- Knowledge Check: Git Automation, Security, and Debugging•30 minutes
In this module, learners will explore how Git supports DevOps workflows, including GitOps principles and CI/CD with GitHub Actions. They’ll learn techniques for managing large repositories and gain insights into Git internals and custom tool extensions for enhanced productivity and control.
What's included
9 videos6 readings4 assignments
9 videos•Total 49 minutes
- What is GitOps?•5 minutes
- Introduction to CI/CD •6 minutes
- Setting Up Git-Based CI/CD Pipelines using GitHub Actions - Demonstration•4 minutes
- Challenges of Managing Large Git Repositories•4 minutes
- Speeding Up Git Operations with Shallow Clones and Ref Packs - Demonstration•7 minutes
- Using git worktree for Parallel Development Tasks - Demonstration•4 minutes
- Using Git Garbage Collection (git gc) and Compression - Demonstration•7 minutes
- Packfiles and Git Garbage Collection Deep Dive - Demonstration•6 minutes
- Navigating .git Directory - Demonstration•7 minutes
6 readings•Total 120 minutes
- Managing Infrastructure as Code with GitOps•20 minutes
- Role of Git in Infrastructure Drift Detection and Reconciliation•15 minutes
- Migrating Repositories to Monorepos: Pros, Cons, and Git Techniques•20 minutes
- Building a Git Productivity Toolkit•15 minutes
- Summary: Git for DevOps, Performance, and Internals•5 minutes
- Practice Project: GitOps Automation and Performance Optimization•45 minutes
4 assignments•Total 48 minutes
- Practice Quiz: GitOps and CI/CD Integration•6 minutes
- Practice Quiz: Managing Large Repositories and Performance•6 minutes
- Practice Quiz: Git Internals and Custom Extensions•6 minutes
- Knowledge Check: Git for DevOps, Performance, and Internals•30 minutes
In this final module, learners will review Git essentials, branching, automation, debugging, and DevOps integration. It includes a course summary, assessments, and reflective discussions to reinforce key concepts and prepare learners for real-world, collaborative Git workflows.
What's included
1 video2 assignments1 discussion prompt
1 video•Total 3 minutes
- Course Summary•3 minutes
2 assignments•Total 60 minutes
- End Course Knowledge Check: Advanced Git Workflow for Developers•30 minutes
- Designing a Safe and Collaborative Git Workflow•30 minutes
1 discussion prompt•Total 5 minutes
- Describe your Learning Journey•5 minutes
Explore more from Software Development
Guided Project
- Status: Preview
Course
- Status: Free Trial
Course
- Status: Free Trial
Course
Why people choose Coursera for their career
Frequently asked questions
Git is a distributed version control system that helps track changes to files, especially in software development. It enables multiple developers to collaborate on the same project, monitor modifications, revert to earlier versions, and merge contributions smoothly.
The key difference between Git and GitHub is that Git is a free, open-source version control tool installed locally on a developer's computer, while GitHub is an online service that hosts Git repositories in the cloud, enabling collaboration and version control management.
This course covers Git fundamentals, branching strategies, advanced workflows, and best practices in version control. It explores automating Git tasks, managing repositories, and troubleshooting issues, while also addressing Git security practices.
More questions
Financial aid available,
¹ Some assignments in this course are AI-graded. For these assignments, your data will be used in accordance with Coursera's Privacy Notice.
