SlideShare a Scribd company logo
1. Explain the fundamental concepts of version control and why GitHub is a popular tool
for managing versions of code. How does version control help in maintaining project
integrity?
Version control is a system that records changes to a file or set of files over time, allowing you to
recall specific versions later. It ensures multiple contributors can work on a project without
overwriting each other's changes, thus maintaining the integrity of the project. GitHub is popular
because it offers a collaborative platform with features like pull requests, issues, and project
boards, making it easier to manage and review code changes.
2. Describe the process of setting up a new repository on GitHub. What are the key steps
involved, and what are some of the important decisions you need to make during this
process?
• Step 1: Sign in to GitHub.
• Step 2: Click on the "New" button or “New repository” from the homepage.
• Step 3: Enter a repository name.
• Step 4: Choose between public or private visibility.
• Step 5: Initialize the repository with a README (optional).
Commands:
bash
git init
git remote add origin https://github.com/username/repository.git
3. Discuss the importance of the README file in a GitHub repository. What should be
included in a well-written README, and how does it contribute to effective collaboration?
A README file provides an overview of the project, installation instructions, usage examples,
and any other pertinent information. It sets the stage for contributors by explaining the project’s
purpose and how to get started, enhancing collaboration.
4. Compare and contrast the differences between a public repository and a private
repository on GitHub. What are the advantages and disadvantages of each, particularly in
the context of collaborative projects?
• Public Repositories: Anyone can view or contribute. Pros: Enhanced visibility and
community contributions. Cons: Lack of privacy.
• Private Repositories: Only selected users can view or contribute. Pros: Privacy and
control. Cons: Limited collaboration opportunities.
5. Detail the steps involved in making your first commit to a GitHub repository. What are
commits, and how do they help in tracking changes and managing different versions of
your project?
• Step 1: Make changes to files.
• Step 2: Stage changes with git add.
• Step 3: Commit changes with git commit.
Commands:
bash
git add .
git commit -m "Initial commit"
git push origin main
6. How does branching work in Git, and why is it an important feature for collaborative
development on GitHub? Discuss the process of creating, using, and merging branches in a
typical workflow.
Branching allows you to work on different features or fixes independently without affecting the
main codebase.
Commands:
bash
git branch feature-branch
git checkout feature-branch
# After making changes:
git checkout main
git merge feature-branch
7. Explore the role of pull requests in the GitHub workflow. How do they facilitate code
review and collaboration, and what are the typical steps involved in creating and merging a
pull request?
Pull requests allow team members to review and discuss changes before merging them into the
main branch.
Steps:
• Create a branch.
• Make changes and commit.
• Push the branch and create a pull request.
• Review and merge.
8. Discuss the concept of "forking" a repository on GitHub. How does forking differ from
cloning, and what are some scenarios where forking would be particularly useful?
Forking creates a personal copy of someone else’s repository, allowing you to make changes
without affecting the original. Forking is useful for contributing to open-source projects, while
cloning is typically used for working within your repositories.
9. Examine the importance of issues and project boards on GitHub. How can they be used
to track bugs, manage tasks, and improve project organization? Provide examples of how
these tools can enhance collaborative efforts.
Issues allow tracking of tasks, bugs, and feature requests. Project boards offer a visual way to
manage and organize work. Together, they improve project management and collaboration by
keeping everything organized and transparent.
10. Reflect on common challenges and best practices associated with using GitHub for
version control. What are some common pitfalls new users might encounter, and what
strategies can be employed to overcome them and ensure smooth collaboration?
Common challenges include merge conflicts and forgotten commits. Best practices include:
• Regular commits.
• Clear commit messages.
• Code reviews.
Strategies to overcome challenges:
• Regular communication.
• Using pull requests for reviews.
Ad

More Related Content

Similar to Questions and Answers git and github.pdf (20)

Version control git day01
Version control   git day01Version control   git day01
Version control git day01
Gourav Varma
 
Version control git day01
Version control   git day01Version control   git day01
Version control git day01
Gourav Varma
 
Git tech
Git techGit tech
Git tech
Taj Nehme
 
AOC hacktoberfest meetup 2024. An open-source event
AOC hacktoberfest meetup 2024. An open-source eventAOC hacktoberfest meetup 2024. An open-source event
AOC hacktoberfest meetup 2024. An open-source event
autumnofcodeindia
 
Top 1 Sites To Buy Github Accounts In 2025
Top 1 Sites To Buy Github Accounts In 2025Top 1 Sites To Buy Github Accounts In 2025
Top 1 Sites To Buy Github Accounts In 2025
ladyjexe
 
Buy GitHub Account- 100% Secure Guarantee
Buy GitHub Account- 100% Secure GuaranteeBuy GitHub Account- 100% Secure Guarantee
Buy GitHub Account- 100% Secure Guarantee
Buy Twitch Account
 
Buy GitHub Account with 5% discount now In 2025
Buy GitHub Account with 5% discount now In 2025Buy GitHub Account with 5% discount now In 2025
Buy GitHub Account with 5% discount now In 2025
bsmmpva
 
Github
GithubGithub
Github
MeetPatel710
 
Workshop on Git and GitHub
Workshop on Git and GitHubWorkshop on Git and GitHub
Workshop on Git and GitHub
DSCVSSUT
 
Introductio to Git and GitHub Session 2 by gdg on campus kab
Introductio to Git and GitHub Session 2 by gdg on campus kabIntroductio to Git and GitHub Session 2 by gdg on campus kab
Introductio to Git and GitHub Session 2 by gdg on campus kab
makobisimon
 
Difference between Github vs Gitlab vs Bitbucket
Difference between Github vs Gitlab vs BitbucketDifference between Github vs Gitlab vs Bitbucket
Difference between Github vs Gitlab vs Bitbucket
jeetendra mandal
 
Version Control System Branching Strategies.pptx
Version Control System Branching Strategies.pptxVersion Control System Branching Strategies.pptx
Version Control System Branching Strategies.pptx
daisyloumontante1
 
Version Control System-git status,git add,git commit,git log.pptx
Version Control System-git status,git add,git commit,git log.pptxVersion Control System-git status,git add,git commit,git log.pptx
Version Control System-git status,git add,git commit,git log.pptx
ChayapathiAR
 
Git Session 2K23.pptx
Git Session 2K23.pptxGit Session 2K23.pptx
Git Session 2K23.pptx
Eshaan35
 
Git Interview Questions PDF By ScholarHat
Git Interview Questions PDF By ScholarHatGit Interview Questions PDF By ScholarHat
Git Interview Questions PDF By ScholarHat
Scholarhat
 
Git hub
Git hubGit hub
Git hub
Umang Gupta
 
Git Pull Requests
Git Pull RequestsGit Pull Requests
Git Pull Requests
Callon Campbell
 
Introduction to Github Actions
Introduction to Github ActionsIntroduction to Github Actions
Introduction to Github Actions
Knoldus Inc.
 
Introduction to Github Actions
Introduction to Github ActionsIntroduction to Github Actions
Introduction to Github Actions
Knoldus Inc.
 
Git Lab Introduction
Git Lab IntroductionGit Lab Introduction
Git Lab Introduction
Krunal Doshi
 
Version control git day01
Version control   git day01Version control   git day01
Version control git day01
Gourav Varma
 
Version control git day01
Version control   git day01Version control   git day01
Version control git day01
Gourav Varma
 
AOC hacktoberfest meetup 2024. An open-source event
AOC hacktoberfest meetup 2024. An open-source eventAOC hacktoberfest meetup 2024. An open-source event
AOC hacktoberfest meetup 2024. An open-source event
autumnofcodeindia
 
Top 1 Sites To Buy Github Accounts In 2025
Top 1 Sites To Buy Github Accounts In 2025Top 1 Sites To Buy Github Accounts In 2025
Top 1 Sites To Buy Github Accounts In 2025
ladyjexe
 
Buy GitHub Account- 100% Secure Guarantee
Buy GitHub Account- 100% Secure GuaranteeBuy GitHub Account- 100% Secure Guarantee
Buy GitHub Account- 100% Secure Guarantee
Buy Twitch Account
 
Buy GitHub Account with 5% discount now In 2025
Buy GitHub Account with 5% discount now In 2025Buy GitHub Account with 5% discount now In 2025
Buy GitHub Account with 5% discount now In 2025
bsmmpva
 
Workshop on Git and GitHub
Workshop on Git and GitHubWorkshop on Git and GitHub
Workshop on Git and GitHub
DSCVSSUT
 
Introductio to Git and GitHub Session 2 by gdg on campus kab
Introductio to Git and GitHub Session 2 by gdg on campus kabIntroductio to Git and GitHub Session 2 by gdg on campus kab
Introductio to Git and GitHub Session 2 by gdg on campus kab
makobisimon
 
Difference between Github vs Gitlab vs Bitbucket
Difference between Github vs Gitlab vs BitbucketDifference between Github vs Gitlab vs Bitbucket
Difference between Github vs Gitlab vs Bitbucket
jeetendra mandal
 
Version Control System Branching Strategies.pptx
Version Control System Branching Strategies.pptxVersion Control System Branching Strategies.pptx
Version Control System Branching Strategies.pptx
daisyloumontante1
 
Version Control System-git status,git add,git commit,git log.pptx
Version Control System-git status,git add,git commit,git log.pptxVersion Control System-git status,git add,git commit,git log.pptx
Version Control System-git status,git add,git commit,git log.pptx
ChayapathiAR
 
Git Session 2K23.pptx
Git Session 2K23.pptxGit Session 2K23.pptx
Git Session 2K23.pptx
Eshaan35
 
Git Interview Questions PDF By ScholarHat
Git Interview Questions PDF By ScholarHatGit Interview Questions PDF By ScholarHat
Git Interview Questions PDF By ScholarHat
Scholarhat
 
Introduction to Github Actions
Introduction to Github ActionsIntroduction to Github Actions
Introduction to Github Actions
Knoldus Inc.
 
Introduction to Github Actions
Introduction to Github ActionsIntroduction to Github Actions
Introduction to Github Actions
Knoldus Inc.
 
Git Lab Introduction
Git Lab IntroductionGit Lab Introduction
Git Lab Introduction
Krunal Doshi
 

Recently uploaded (20)

pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulsepulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
sushreesangita003
 
Operations Management (Dr. Abdulfatah Salem).pdf
Operations Management (Dr. Abdulfatah Salem).pdfOperations Management (Dr. Abdulfatah Salem).pdf
Operations Management (Dr. Abdulfatah Salem).pdf
Arab Academy for Science, Technology and Maritime Transport
 
Sinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_NameSinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_Name
keshanf79
 
Geography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjectsGeography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjects
ProfDrShaikhImran
 
Presentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem KayaPresentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem Kaya
MIPLM
 
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Library Association of Ireland
 
Presentation on Tourism Product Development By Md Shaifullar Rabbi
Presentation on Tourism Product Development By Md Shaifullar RabbiPresentation on Tourism Product Development By Md Shaifullar Rabbi
Presentation on Tourism Product Development By Md Shaifullar Rabbi
Md Shaifullar Rabbi
 
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
Celine George
 
How to Subscribe Newsletter From Odoo 18 Website
How to Subscribe Newsletter From Odoo 18 WebsiteHow to Subscribe Newsletter From Odoo 18 Website
How to Subscribe Newsletter From Odoo 18 Website
Celine George
 
Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025
Mebane Rash
 
K12 Tableau Tuesday - Algebra Equity and Access in Atlanta Public Schools
K12 Tableau Tuesday  - Algebra Equity and Access in Atlanta Public SchoolsK12 Tableau Tuesday  - Algebra Equity and Access in Atlanta Public Schools
K12 Tableau Tuesday - Algebra Equity and Access in Atlanta Public Schools
dogden2
 
2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx
contactwilliamm2546
 
SPRING FESTIVITIES - UK AND USA -
SPRING FESTIVITIES - UK AND USA            -SPRING FESTIVITIES - UK AND USA            -
SPRING FESTIVITIES - UK AND USA -
Colégio Santa Teresinha
 
How to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of saleHow to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of sale
Celine George
 
Unit 6_Introduction_Phishing_Password Cracking.pdf
Unit 6_Introduction_Phishing_Password Cracking.pdfUnit 6_Introduction_Phishing_Password Cracking.pdf
Unit 6_Introduction_Phishing_Password Cracking.pdf
KanchanPatil34
 
Odoo Inventory Rules and Routes v17 - Odoo Slides
Odoo Inventory Rules and Routes v17 - Odoo SlidesOdoo Inventory Rules and Routes v17 - Odoo Slides
Odoo Inventory Rules and Routes v17 - Odoo Slides
Celine George
 
Multi-currency in odoo accounting and Update exchange rates automatically in ...
Multi-currency in odoo accounting and Update exchange rates automatically in ...Multi-currency in odoo accounting and Update exchange rates automatically in ...
Multi-currency in odoo accounting and Update exchange rates automatically in ...
Celine George
 
Ultimate VMware 2V0-11.25 Exam Dumps for Exam Success
Ultimate VMware 2V0-11.25 Exam Dumps for Exam SuccessUltimate VMware 2V0-11.25 Exam Dumps for Exam Success
Ultimate VMware 2V0-11.25 Exam Dumps for Exam Success
Mark Soia
 
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - WorksheetCBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
Sritoma Majumder
 
Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...
Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...
Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...
Library Association of Ireland
 
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulsepulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
sushreesangita003
 
Sinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_NameSinhala_Male_Names.pdf Sinhala_Male_Name
Sinhala_Male_Names.pdf Sinhala_Male_Name
keshanf79
 
Geography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjectsGeography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjects
ProfDrShaikhImran
 
Presentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem KayaPresentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem Kaya
MIPLM
 
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Niamh Lucey, Mary Dunne. Health Sciences Libraries Group (LAI). Lighting the ...
Library Association of Ireland
 
Presentation on Tourism Product Development By Md Shaifullar Rabbi
Presentation on Tourism Product Development By Md Shaifullar RabbiPresentation on Tourism Product Development By Md Shaifullar Rabbi
Presentation on Tourism Product Development By Md Shaifullar Rabbi
Md Shaifullar Rabbi
 
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
Celine George
 
How to Subscribe Newsletter From Odoo 18 Website
How to Subscribe Newsletter From Odoo 18 WebsiteHow to Subscribe Newsletter From Odoo 18 Website
How to Subscribe Newsletter From Odoo 18 Website
Celine George
 
Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025Stein, Hunt, Green letter to Congress April 2025
Stein, Hunt, Green letter to Congress April 2025
Mebane Rash
 
K12 Tableau Tuesday - Algebra Equity and Access in Atlanta Public Schools
K12 Tableau Tuesday  - Algebra Equity and Access in Atlanta Public SchoolsK12 Tableau Tuesday  - Algebra Equity and Access in Atlanta Public Schools
K12 Tableau Tuesday - Algebra Equity and Access in Atlanta Public Schools
dogden2
 
2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx
contactwilliamm2546
 
How to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of saleHow to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of sale
Celine George
 
Unit 6_Introduction_Phishing_Password Cracking.pdf
Unit 6_Introduction_Phishing_Password Cracking.pdfUnit 6_Introduction_Phishing_Password Cracking.pdf
Unit 6_Introduction_Phishing_Password Cracking.pdf
KanchanPatil34
 
Odoo Inventory Rules and Routes v17 - Odoo Slides
Odoo Inventory Rules and Routes v17 - Odoo SlidesOdoo Inventory Rules and Routes v17 - Odoo Slides
Odoo Inventory Rules and Routes v17 - Odoo Slides
Celine George
 
Multi-currency in odoo accounting and Update exchange rates automatically in ...
Multi-currency in odoo accounting and Update exchange rates automatically in ...Multi-currency in odoo accounting and Update exchange rates automatically in ...
Multi-currency in odoo accounting and Update exchange rates automatically in ...
Celine George
 
Ultimate VMware 2V0-11.25 Exam Dumps for Exam Success
Ultimate VMware 2V0-11.25 Exam Dumps for Exam SuccessUltimate VMware 2V0-11.25 Exam Dumps for Exam Success
Ultimate VMware 2V0-11.25 Exam Dumps for Exam Success
Mark Soia
 
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - WorksheetCBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
Sritoma Majumder
 
Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...
Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...
Phoenix – A Collaborative Renewal of Children’s and Young People’s Services C...
Library Association of Ireland
 
Ad

Questions and Answers git and github.pdf

  • 1. 1. Explain the fundamental concepts of version control and why GitHub is a popular tool for managing versions of code. How does version control help in maintaining project integrity? Version control is a system that records changes to a file or set of files over time, allowing you to recall specific versions later. It ensures multiple contributors can work on a project without overwriting each other's changes, thus maintaining the integrity of the project. GitHub is popular because it offers a collaborative platform with features like pull requests, issues, and project boards, making it easier to manage and review code changes. 2. Describe the process of setting up a new repository on GitHub. What are the key steps involved, and what are some of the important decisions you need to make during this process? • Step 1: Sign in to GitHub. • Step 2: Click on the "New" button or “New repository” from the homepage. • Step 3: Enter a repository name. • Step 4: Choose between public or private visibility. • Step 5: Initialize the repository with a README (optional). Commands: bash git init git remote add origin https://github.com/username/repository.git 3. Discuss the importance of the README file in a GitHub repository. What should be included in a well-written README, and how does it contribute to effective collaboration? A README file provides an overview of the project, installation instructions, usage examples, and any other pertinent information. It sets the stage for contributors by explaining the project’s purpose and how to get started, enhancing collaboration. 4. Compare and contrast the differences between a public repository and a private repository on GitHub. What are the advantages and disadvantages of each, particularly in the context of collaborative projects? • Public Repositories: Anyone can view or contribute. Pros: Enhanced visibility and community contributions. Cons: Lack of privacy. • Private Repositories: Only selected users can view or contribute. Pros: Privacy and control. Cons: Limited collaboration opportunities. 5. Detail the steps involved in making your first commit to a GitHub repository. What are commits, and how do they help in tracking changes and managing different versions of your project? • Step 1: Make changes to files.
  • 2. • Step 2: Stage changes with git add. • Step 3: Commit changes with git commit. Commands: bash git add . git commit -m "Initial commit" git push origin main 6. How does branching work in Git, and why is it an important feature for collaborative development on GitHub? Discuss the process of creating, using, and merging branches in a typical workflow. Branching allows you to work on different features or fixes independently without affecting the main codebase. Commands: bash git branch feature-branch git checkout feature-branch # After making changes: git checkout main git merge feature-branch 7. Explore the role of pull requests in the GitHub workflow. How do they facilitate code review and collaboration, and what are the typical steps involved in creating and merging a pull request? Pull requests allow team members to review and discuss changes before merging them into the main branch. Steps: • Create a branch. • Make changes and commit. • Push the branch and create a pull request. • Review and merge. 8. Discuss the concept of "forking" a repository on GitHub. How does forking differ from cloning, and what are some scenarios where forking would be particularly useful? Forking creates a personal copy of someone else’s repository, allowing you to make changes without affecting the original. Forking is useful for contributing to open-source projects, while cloning is typically used for working within your repositories.
  • 3. 9. Examine the importance of issues and project boards on GitHub. How can they be used to track bugs, manage tasks, and improve project organization? Provide examples of how these tools can enhance collaborative efforts. Issues allow tracking of tasks, bugs, and feature requests. Project boards offer a visual way to manage and organize work. Together, they improve project management and collaboration by keeping everything organized and transparent. 10. Reflect on common challenges and best practices associated with using GitHub for version control. What are some common pitfalls new users might encounter, and what strategies can be employed to overcome them and ensure smooth collaboration? Common challenges include merge conflicts and forgotten commits. Best practices include: • Regular commits. • Clear commit messages. • Code reviews. Strategies to overcome challenges: • Regular communication. • Using pull requests for reviews.