InterviewTreedInterviewTreed
All learning paths

Data, Cloud & DevOps

Git, GitHub & CI/CD

Prepare for Git version control, GitHub collaboration, branching strategies, pull requests, automated testing, CI/CD pipelines, and modern software delivery practices.

Your learning roadmap

Explore the key concepts

Use these subtopics as a study checklist. Start with the fundamentals, then progress to practical examples and interview preparation.

Version control fundamentals

Understand version control systems, why developers use them, and how they track code changes, support collaboration, and maintain project history.

Start learning

Centralized vs distributed version control

Compare centralized and distributed version control systems, including their architectures, collaboration models, advantages, and limitations.

Start learning

Git architecture and workflow

Explore Git's object model, snapshots, references, and the workflow connecting the working directory, staging area, and local repository.

Start learning

Git installation and configuration

Install Git on different operating systems and configure user identity, default editors, line endings, aliases, and other essential settings.

Start learning

Git repositories

Learn how Git repositories store project history and metadata, and how to initialize, inspect, and manage local repositories.

Start learning

Working directory, staging area, and repository

Understand the three main areas of Git: working directory, staging area, and repository, and how changes move between them.

Start learning

Git status and diff

Inspect repository changes using git status and compare file modifications with git diff before staging or committing them.

Start learning

Git add and commit

Stage selected file changes with git add and save project snapshots using git commit, including practical commit workflows.

Start learning

Commit history and log

Explore project history with git log and related commands, inspect commit details, and trace how files have changed over time.

Start learning

Writing meaningful commit messages

Write clear, consistent commit messages that explain the purpose of changes and make project history easier to understand.

Start learning

Git branching fundamentals

Understand Git branches as independent development lines and learn how branching supports parallel work and isolated feature development.

Start learning

Creating and switching branches

Create, rename, list, and switch branches using Git commands while maintaining separate development workstreams.

Start learning

Branch merging

Combine changes from different branches using Git merge and understand fast-forward and three-way merge behavior.

Start learning

Merge conflicts and resolution

Identify merge conflicts, inspect conflicting changes, resolve them manually, and complete merges without losing intended code.

Start learning

Git merge vs rebase

Compare merge and rebase strategies, understand their effects on commit history, and choose an appropriate integration approach.

Start learning

Interactive rebasing

Rewrite and organize commit history using interactive rebase, including reordering, squashing, editing, and removing commits.

Start learning

Cherry-picking commits

Apply specific commits from one branch to another using cherry-pick and understand how to handle conflicts during the operation.

Start learning

Git stash

Temporarily save uncommitted changes with git stash, manage multiple stashes, and restore work when switching tasks or branches.

Start learning

Git reset and revert

Undo changes safely using git reset and git revert, and understand the differences between modifying local history and creating reversal commits.

Start learning

Git amend and commit modification

Modify the most recent commit using git commit --amend, update commit messages, and include additional staged changes.

Start learning

Git tags and releases

Mark important points in project history using lightweight and annotated tags, and understand how tags support release management.

Start learning

Git remote repositories

Connect local repositories to remote repositories, inspect remote configurations, and manage remote names and URLs.

Start learning

Git fetch, pull, and push

Synchronize local and remote repositories using git fetch, git pull, and git push while understanding how each command affects repository state.

Start learning

Git clone

Copy existing remote repositories to a local environment using git clone and understand cloning options, branches, and remote configuration.

Start learning

Git workflows

Explore common Git collaboration workflows and understand how teams coordinate branching, commits, reviews, and code integration.

Start learning

Feature branching workflow

Use feature branches to develop individual features independently before integrating completed changes into the main development branch.

Start learning

Gitflow workflow

Understand the Gitflow branching model, including main, develop, feature, release, and hotfix branches and their release-oriented lifecycle.

Start learning

Trunk-based development

Learn trunk-based development practices, short-lived branches, frequent integration, and techniques for reducing merge complexity.

Start learning

Forking and upstream repositories

Understand repository forking, configure upstream remotes, synchronize forked repositories, and contribute changes through pull requests.

Start learning

Git submodules

Manage external Git repositories as submodules, track specific revisions, and understand how teams initialize and update nested repositories.

Start learning

Git hooks

Automate repository actions with Git hooks and understand how pre-commit, commit-msg, pre-push, and server-side hooks enforce workflows.

Start learning

Git ignore and .gitignore

Configure .gitignore rules to exclude generated files, build artifacts, local configuration, and other unwanted files from version control.

Start learning

Recovering deleted commits and files

Recover lost commits and file changes using Git reflog, object inspection, restore commands, and other repository recovery techniques.

Start learning

Git bisect and debugging

Find the commit that introduced a bug using git bisect and combine automated or manual testing with binary search through project history.

Start learning

GitHub fundamentals

Explore GitHub as a collaborative development platform and understand repositories, contributions, pull requests, issues, and project hosting.

Start learning

GitHub repositories and permissions

Create and manage GitHub repositories, configure visibility and access permissions, and understand repository roles and collaboration settings.

Start learning

GitHub branches and protection rules

Manage GitHub branches and configure protection rules, required reviews, status checks, and restrictions on direct changes.

Start learning

Pull requests

Create, update, and merge pull requests on GitHub to propose code changes, discuss implementation details, and integrate contributions.

Start learning

Code reviews

Review proposed code changes systematically, identify defects and maintainability concerns, and provide constructive feedback before merging.

Start learning

Review comments and approvals

Use GitHub review comments, requested changes, approvals, and review resolutions to manage feedback throughout the pull request lifecycle.

Start learning

Issue tracking and project boards

Track bugs, feature requests, and development tasks using GitHub Issues, labels, milestones, and project boards.

Start learning

GitHub releases

Publish GitHub releases using tags, release notes, version information, and downloadable assets to communicate software updates.

Start learning

GitHub Actions fundamentals

Understand GitHub Actions and how automated workflows execute repository tasks such as testing, building, and deploying applications.

Start learning

Workflows, jobs, and steps

Define GitHub Actions workflows using YAML and understand how workflows contain jobs, steps, dependencies, and execution instructions.

Start learning

GitHub Actions events and triggers

Configure workflow triggers using events such as push, pull_request, schedule, workflow_dispatch, and other GitHub activity events.

Start learning

Runners and execution environments

Understand GitHub-hosted and self-hosted runners, choose execution environments, and configure operating systems and runtime dependencies.

Start learning

Actions and reusable workflows

Use existing GitHub Actions, marketplace actions, composite actions, and reusable workflows to reduce duplication across automation pipelines.

Start learning

Workflow variables and secrets

Configure GitHub Actions variables and encrypted secrets, understand their scopes, and securely pass configuration values to workflows.

Start learning

Environment variables and configuration

Manage environment variables and application configuration across development, testing, staging, and production workflows.

Start learning

Build and test automation

Automate application compilation, dependency installation, and test execution through GitHub Actions and other CI pipeline tools.

Start learning

CI/CD fundamentals

Understand continuous integration and continuous delivery concepts, their goals, and how automation improves software release reliability.

Start learning

Continuous integration

Learn continuous integration practices involving frequent code integration, automated builds, test execution, and early defect detection.

Start learning

Continuous delivery and deployment

Compare continuous delivery and continuous deployment and understand how automated validation and release processes move software toward production.

Start learning

CI/CD pipeline architecture

Design CI/CD pipeline stages and understand how source control, builds, testing, artifact storage, approvals, and deployments work together.

Start learning

Build pipelines

Configure automated build pipelines to restore dependencies, compile applications, run build checks, and produce deployable outputs.

Start learning

Automated unit and integration testing

Integrate unit and integration tests into CI/CD pipelines and understand test execution, failure reporting, and quality gates.

Start learning

Code quality and static analysis

Automate code quality checks using linters, static analysis, formatting tools, and security scanners to detect issues before deployment.

Start learning

Artifact management

Understand build artifacts, package repositories, artifact versioning, storage, retention, and promotion between deployment environments.

Start learning

Deployment pipelines

Build automated deployment pipelines that publish application artifacts, configure target environments, and release software reliably.

Start learning

Environment-based deployments

Manage deployments across development, testing, staging, and production environments using environment-specific configuration and release controls.

Start learning

Deployment approvals and gates

Implement manual approvals and automated quality gates to control deployment progression and prevent unverified changes from reaching production.

Start learning

Release management

Coordinate software releases through planning, version selection, release notes, approvals, deployment scheduling, and post-release validation.

Start learning

Versioning and semantic versioning

Apply semantic versioning using major, minor, and patch numbers and understand how version changes communicate compatibility and breaking updates.

Start learning

Blue-green deployment

Implement blue-green deployment by maintaining two production environments and switching traffic between versions to reduce release downtime.

Start learning

Canary deployment

Use canary deployments to release changes gradually to a subset of users, monitor application behavior, and expand or reverse the rollout.

Start learning

Rollback strategies

Plan rollback procedures for failed releases using previous artifacts, deployment revisions, database considerations, and recovery validation.

Start learning

Infrastructure as Code fundamentals

Understand infrastructure as code and how tools such as Terraform and configuration management systems automate repeatable infrastructure provisioning.

Start learning

Docker integration with CI/CD

Integrate Docker into CI/CD pipelines to build container images, run containerized tests, publish images, and deploy consistent application environments.

Start learning

Cloud deployment automation

Automate application deployments to cloud platforms using pipeline integrations, cloud credentials, infrastructure configuration, and deployment tooling.

Start learning

Pipeline security best practices

Secure CI/CD pipelines through least-privilege permissions, secret protection, dependency scanning, trusted actions, and controlled deployment access.

Start learning

CI/CD monitoring and troubleshooting

Monitor pipeline execution, inspect build and deployment logs, diagnose failed stages, and improve pipeline reliability and performance.

Start learning

DevOps collaboration and best practices

Explore DevOps collaboration practices that bring development and operations teams together through shared ownership, automation, feedback, and continuous improvement.

Start learning

Practice & revise

Interview questions

Practice interview questions with answers, key points, and practical examples.

Test your knowledge

Explore 80 questions for this topic, covering concepts, practical examples, and interview scenarios.

Browse 80 questions

Keep learning step by step

Work through the concepts, practice explaining them in your own words, and use interview questions to check your understanding.

Explore another learning path