6. GitHub - fork, pull request, code review1. What is a Fork? A fork is a copy of someone else's repository that is created under your account. This allows you to work on the codebase independently without affecting the original repository. Why Fork? To make changes to a project you don’t ow...Dec 6, 2024 · 4 min readgit-tutorial.hashnode.dev
5. Remote Repositories - remote, fetch, pull, push, cloneA remote in Git is a reference to a repository located elsewhere, typically on a server or a cloud-hosted platform (e.g., GitHub, GitLab, Bitbucket). It allows you to collaborate with others by pushing your changes to the remote repository and pullin...Dec 6, 2024 · 2 min readgit-tutorial.hashnode.dev
4. Inspect and Compare - log, diff, showlog command The git log command in Git is used to display the commit history of a repository. It shows a chronological list of commits, providing information such as the commit hash, author, date, and commit message. The git log command in Git is u...Dec 6, 2024 · 4 min readgit-tutorial.hashnode.dev
3. Branching - branch, checkout, mergeBranch and branch checkout A branch in Git is essentially a pointer to a specific commit in the repository. It allows you to work on different versions of your project simultaneously without affecting the main codebase. The master branch in Git i...Dec 6, 2024 · 2 min readgit-tutorial.hashnode.dev
2. Staging in GIT - status, add, commit, rm, mv, resetDifferent Status of a project in GIT In Git, status refers to the state of your working directory and staging area or in simple words it tells the current status of your project There are 4 status label: → untracked - new files that git doesn't yet...Dec 6, 2024 · 3 min readgit-tutorial.hashnode.dev