Skip to content

Instantly share code, notes, and snippets.

@halitbatur
Forked from louisrli/git.md
Last active September 17, 2022 21:58
Show Gist options
  • Save halitbatur/da51b0eec2e15683123da7084043c943 to your computer and use it in GitHub Desktop.
Save halitbatur/da51b0eec2e15683123da7084043c943 to your computer and use it in GitHub Desktop.
Git and Github

Git and Github Discussion Questions

For each discussion question, please write the answer in your own words. You may also optionally comment your answers in the comment section below (if you have a Github account).

Git Questions

  1. What does version control mean?
  2. What is the purpose of Git?
  3. How would the world be different if Git and version control did not exist?
  4. What is a branch in Git?

Github Questions

  1. What is a pull request?
  2. What is the difference between Github and Git?
  3. What does it mean to fork something on Github? Does the concept of "fork" exist on both Github and Git, or only one of them?
@melis101
Copy link

team members :
melis
amal salah
Shahla Kamal
noor
first q/ version control is to allow software teams track changes to the code, while enhancing communication and collaboration between team members also trach and manages the history of the code
2nd/ to manage between team , track the changes and the history that you made to the code , enhance collaboration between the team and ensures that the main branch always contains production-quality code.
3rd/ managing the code would be difficult between team member and you would have to copy and paste the whole code merging the code would be difficult and there would no history for the code and the changes that have been commited
4th/ a branch is a new separate version of the main repo
5th/ pull request is a request to merge the new commit change to the main repo , Once a pull request is opened, you can discuss and review the potential changes with collaborators and add follow-up commits before your changes are merged into the base branch.

6th/Git is a version control system that lets you manage and keep track of your source code history, GitHub is a web-based Git repository hosting service,
7th/A fork is a copy of a repository that you manage. Forks let you make changes to a project without affecting the original repository,Forking is a git clone operation executed on a server copy of a projects repo

@bluesky1992-web
Copy link

bluesky1992-web commented Sep 17, 2022

Team members : Maryam Salah , Ali ibrahim , Alan , Ahmad Ayoubi
Q 1 : keeping the track of changes over time
Q 2 : git is a tool for source code management and projects
Q3 : collaboration with others can be hard to manage
Q4 : Allows you to work on different parts of project without impacting the main version

git hub questions

Q 1 : Propose the code changes to the remote repo
Q2: Git is a version control system that lets you manage and keep track of your source code history. GitHub is a cloud-based hosting service that lets you manage Git repositories. Source
Q3: A fork is a copy of a repository that you manage. It only exists on github and other source code hosting services like gitlab, and bitbucket. But not part of git.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment