Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE

Please log in or register to answer this question.

1 Answer

+1 vote
by (176k points)

Git is a distributed version control system (DVCS) that allows multiple developers to work on a project simultaneously. It keeps track of changes to files and coordinates work on those files among multiple people. Git is used to manage source code history, enabling developers to revert to previous versions and collaborate effectively.

Key Features:

  • Distributed system: Every developer has a local copy of the entire project history.
  • Efficient branching and merging.
  • Supports non-linear development through branches.
  • Lightweight and fast.

Example Code:

# Initialize a new Git repository
git init

# Add a file to the staging area
git add filename.txt

# Commit changes with a message
git commit -m "Initial commit" 

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...