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

hamadmh commented Sep 17, 2022

Member: Mohammed Diary, Shakar Kosar, Banel Mikhael, Ahmad Hassoun
Answers for Git Questions:

  1. Version control: controls the changes made to a computer program.
  2. Git is one of the most popular version control systems for managing source code.
  3. If a mistake were made during development, we wouldn't be able to go back to the last properly working version of the program.
  4. A branch represents an independent line of development.
    Answers for Github Questions:
  5. Pull request is when a branch is edited we request to merge it with the main development branch (root).
  6. Git is a version control software, and GitHub is a cloud-based hosting service.
  7. Forking is when we copy someone's code from their repository, and nothing changes when we edit it. It's only on GitHub.

@NanorG
Copy link

NanorG commented Sep 17, 2022

Members : Nanor, Fadi, Noor, Ramyar
Answers:
Git Questions
1-Version control is a tool used to manage and change codes.
2-Git is a software system used to track our changes in code and save its history.
3-There would be a lot of difficulties in maintaining a code or changing some part of it and it will also take a lot of time.
4-The branch is part of the whole code that can be modified, saved and added later on.

Github Questions
1-Pull request is a tool that allows people working on the same code to let others know about the changes made.
2-Github is a host while Git is a subsystem of it. Github allows peers to work on a code, contribute and share their ideas.
3-Forking means to get a copy of the repository of your own and make changes to it without affecting the original one and it only exists on Github.

@RageOfKurd
Copy link

names :

  • Hevar Tofiq
  • Dalia jabar
  • maria Dayekh
  • Noor Dheya

( Git )
1- it's a technology that can be used to keep track of multiple versions of a files on our machine.
2- Git is one type of version control which is a tool that allows us to manage our code and files and do the tracking, adding and so on.
3- we as developers would get confused easily because we had to deal with multiple versions of our files manually and people were not gonna be able to commit, log and do anything else locally without having a centralized server.
4- A branch is a pointer to a commit. Git branches are a snapshot of a project and its changes, from a specific point in time. When working on a big project, there is the main repository with all the code, often called main or master.

(GitHub)
1- Pull requests let you tell others about changes you've pushed to a branch in a repository on GitHub so the maintainers can review then merge the changes with the main codebase.
2- git is a software on your local machine but GitHub is a service online that allows you to put your code from your device on to the server online.
3-fork means that you are making a copy of remote repository into your GitHub repositories so that you can modify this copy of repository not the original one(remotely)

@wafaa-alhayek
Copy link

  1. version control systems are systems that help developers and coders work and experiment on their code without being afraid of messing all of their code up by tracking diffs and committing to the code that works best.

  2. git is a version control system that provides all the tools that helps coders preserve their work and also maintain ownership rights. i think.

  3. no experimentation with code, no creativity and also possibly no silliness which sounds awful, but also everyone would be really afraid of messing up their code and coding would become a really exhaustive process.

  4. I think a branch is where committed code gets saved? different branches are different versions of your code. I googled that one and I'm not sure yet

  5. so pull requests contain all the diffs you made? also not sure

  6. git is the version control system that you have to install on your machine to be able to track and commit code that you write on your code text editor, github is where code gets published and saved

  7. forking is when you want to access a repo in gitbub and make changes to it, I think it's different from cloning in terms that cloning is when you download the actual repo on your machine, and I do think that fork exists in both git and gitub.

@HaniAlKhaffaf
Copy link

Team Members: Nina Hawari, Mustafa Mohammed, Yousif Ismail, Hala al-arid, Hani Al-Khaffaf
Git Questions:
1 - a file version tracker and manager.
2 - git is a version control system that allows you to track changes and manage your files. Also, allows interactions between multiple users.
3 - it would make the developer's life much more difficult due to tracking, management, collaborations, bad integration, and deployment.
4 - Branches in git separate Development line and allows developers to work independently without changing the main code.

GitHub Questions:
1 - a pull request requests authorization from the administrators before merging the separate branch with the main
2 - Git is a version control system while Github is a cloud base server that operates with Git and allows you to manage your Git repositories
3 - copying a code from other developers into your own repository without changing the code, and only works on Github.

@Abdulbariii
Copy link

The team :
1-Abdulbari
2-Ameen
3-Darya
4-Danah

Answers to Git questions:
1-It's for controlling different versions of codes and contribution between teams and developers
2-It's a tool that give you the ability to return to previous version of your code in case of bugs
3-Chaotic, we could not write new things, there will be no contribution, we wouldn't be able to return to our previous versions of code, it will take forever to finish a project,
4-Help us to do changes in some parts of code without affecting the main code until we see the code is working fine then we will merge the branch, also to help big teams to work on the same main code without affection each others progress by making branches of the cod

Github Questions:
1-after working and doing changes on the forked code we can submit it and request to merge it with the main code by the author.
2-So git is the tool and the github is the platform to upload , share and push your works and codes
3-Making a copy of someone else remote your repo into your local repo

@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