Version Control and Developer Tooling Questions

The everyday toolchain of software work: version control with Git (branching, merging, rebasing, conflict resolution, using git bisect to find a regression), command-line and shell proficiency for day-to-day navigation, log inspection, and troubleshooting, IDE and editor workflows, build systems and package/dependency management (npm, Maven, pip, Gradle, CocoaPods, and embedded/cross-compilation toolchains), and the growing practice of AI-assisted coding: using, reviewing, and verifying AI-generated code and tests. Deliberately generic across languages and stacks; language- and domain-specific frameworks live in their own categories. This topic covers a developer's individual command of these tools, not: writing durable shell automation and glue scripts (Shell Scripting and Automation owns that), producing, versioning, and publishing build artifacts or container images (Build Automation and Artifact Management owns that), release cadence and change governance (Release Management and Change Control owns that), or diagnosing a live production incident end to end (Performance Troubleshooting and Incident Response and the Observability topics own that).

MediumTechnical
46 practiced

You encounter a three-way merge conflict in file src/main/config.yaml between your feature branch and main. Walk through the steps and git commands you would use to inspect conflicting commits, resolve the conflict while preserving both teams' intent, test locally, and complete the merge.

EasyTechnical
40 practiced

A teammate asks: 'What is the staging area (index) and how does git add differ from git commit?' Explain what each command does and give an example where using git add -p or git add -A would matter.

MediumTechnical
70 practiced

You accidentally deleted a branch on the remote that contained commits you need. Describe how you'd recover the branch using git reflog and remote commit hashes, including the exact commands to recreate the branch on the remote.

MediumTechnical
44 practiced

Your team wants to enforce that only PRs with at least one approval and passing CI can be merged into main. Describe how to configure branch protection rules (GitHub/GitLab/Azure) and how to integrate status checks for external CI and code-scanning tools into the policy.

MediumTechnical
32 practiced

Compare GitFlow, GitHub Flow, and trunk-based development for a mid-sized company delivering multiple releases per quarter. For each strategy list advantages, disadvantages, and how it affects CI/CD pipeline design, release cadence, and hotfix handling.

Unlock Full Question Bank

Get access to all Version Control and Developer Tooling interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.