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?
@Nma-sh98
Copy link

group members:
nma shawkat
Aya Marmash
Mahnaz Nazir
Zoriana Shatkovska
Ruba Alsoheil

the answers:

  1. it's a practice of tracing the changes of the files, it basically manages the documents that allows the developers to work with their code savings and their revisions. which helps in attaining a smooth workflow.
  2. the purpose is to practice version control
  3. in this cast it will be too messy since we need to work with bunch of files, and we won't be able to track the changes or undo the changes and we are also not able to come back to the latest working version and finding the main error will be really challenging.
  4. branch is basically an isolated environment that allows the developers to change the code with no effect of the main code.
    GitHub answers:
  5. a pull request is a request to merge two branches together.
  6. Git is a version control system to manage the codes, however GitHub is a platform to use Git to participate in a large growing community of developers.
  7. fork is to copy the repository to local machine only in GitHub.

@nisreenH
Copy link

Team members: Nisreen Hamzah, Ali Majid, Heyam M, Sakar Masoud
1- Version Control is a software tool that helps developers manage their version of the code and track down any errors. So, the developer will edit the main version of the code and all other versions will be edited automatically. Also, you can track other developers edits on the code. version control systems help software teams work faster and smarter.

2- The purpose of Git is to manage projects. You can take a copy/version of the main project and edit it on your own and then return it to the source. Moreover, you can track all changes applied on the project. Git is a free and provides an open-source version of projects, also git enables multiple developers to work together. Git is also used to continue development of the Linux kernel.

3- If git and version control didn't exist it would be difficult for developers to work together and track their codes and projects. Also, it will be slower for developers to finish their projects. Moreover, there wouldn't be a unique version (source code) for a project which will cause misconnection between developers.

4- Branch in git is taking your own version of the main code and working on it.

@BaraaNazar
Copy link

BaraaNazar commented Sep 17, 2022

team: baraa, omer, marshal, shad

  1. version control means, it is a system that we use to control, make changes and editing and managing our code.
  2. it used to tracks and control our changes on our code
  3. it would be complicated we may loss our data
  4. branch is doing editing on some feature without changing the original project

1.A pull request is an event in Git where a contributor asks a maintainer of a Git repository to review code they want to merge into a project.
2. 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.
3. a copy of an existing repository in github to our github account. only on github

@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