DEV Community

Cover image for Top 10 most asked Git Questions in Interviews.
Piyush Kumar Singh
Piyush Kumar Singh

Posted on

Top 10 most asked Git Questions in Interviews.

Reference : Git

  1. What is the difference between reset and revert?

  2. What is the difference between Git and other version control systems?

  3. What is a Git repository?

  4. What is the working directory in Git?

  5. What is the staging area (index) in Git?

  6. What is a commit in Git?

  7. What is the HEAD in Git?

  8. What's the difference between a fast-forward merge and a
    recursive merge?

  9. What is a detached HEAD state?

  10. What is Git stash?

Other References :

Java8 : Link
Advance Java : Link
Core Java : Link
Java OOP's : Link
Spring Boot : Link
Advanced Spring Boot : Link
Linux : Link
ReactJS : Link
API : Link
OS : Link
NodeJS : Link
Python : Link
HTML : Link

Image description

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more