How Git works
Git

How Git works


Here is a basic overview of how Git works:

  1. Create a "repository" (project) with a git hosting tool (like Bitbucket/GitHub)
  2. Copy (or clone) the repository to your local machine
  3. Add a file to your local repo and "commit" (save) the changes
  4. "Push" your changes to your master branch
  5. Make a change to your file with a git hosting tool and commit
  6. "Pull" the changes to your local machine
  7. Create a "branch" (version), make a change, commit the change
  8. Open a "pull request" (propose changes to the master branch)
  9. "Merge" your branch to the master branch
Derdus Kenga, PhD

4 Years of Technical Writing Experience | Content Developer at Microsoft | 8 Years of University Teaching Experience | 2 Years of Software Engineering Experience

4y

A good summary. For a bot me information, there is this article which can give you a bit more information and is it also very organized - https://developers.decoded.africa/index.php/2020/09/23/how-to-get-started-with-git-and-github-repository-in-your-windows-machine/. The whole blog is by Decoded Africa and . They building #africa #digitaleconomy

Like
Reply

To view or add a comment, sign in

More articles by cetric lihalakha

Insights from the community

Others also viewed

Explore topics