×
Home Discussions Write at Opengenus IQ
×
  • DSA Cheatsheet
  • HOME
  • Track your progress
  • Deep Learning (FREE)
  • Join our Internship 🎓
  • RANDOM
  • One Liner

version control

A collection of 9 posts

Software Engineering

Git: git remote add command

git remote add command is a basic git command which add a remote repository as an origin of your local repository. The basic idea is that the remote repository is the final working repository which is considered by everyone and your local repository is your local copy holding your changes

OpenGenus Tech Review Team OpenGenus Tech Review Team
git

Git: git commit command

git commit is a basic git command which saves the staged changes made to your local repository. We have explored how we can skip the add command and the information provided by the commit command of Git

OpenGenus Tech Review Team OpenGenus Tech Review Team
git

Git diff command

Git diff command show changes between the working tree and the index or a tree, changes between the index and a tree, changes between two trees, changes between two blob objects, or changes between two files on disk.

OpenGenus Tech Review Team OpenGenus Tech Review Team
git

Git add command: track a new file

In this article, we learnt how to track a new file in a project using Git. In the process, we explored the git add command to add a new file to tracking, touch command to create a new file and git status command on two different occasions to explore the status of the content tracked by Git.

OpenGenus Tech Review Team OpenGenus Tech Review Team
git

Git Status command: File stages in Git

In this article, we have explored the various stages that a file assumes in Git. In the process, we came across tracked and untracked files and committed, modified and staged files and the significance of each stage in relation to git status.

OpenGenus Tech Review Team OpenGenus Tech Review Team
git

Git: git status command

In this article, we have explored the git status command which gives us information regarding our current branch, remote repository, changes that have been staged for commit and changes that have not been staged for commit. In the process, we have explored the clear command as well.

OpenGenus Tech Review Team OpenGenus Tech Review Team
git

Git: Initialize a Git repository

In this article, we have explored the procedure to initializing a new Git repository. In the process, we have explored the cd (change directory) command, git init command, cd .git command and ls command to explore the hidden files in the .git folder.

OpenGenus Tech Review Team OpenGenus Tech Review Team
git

Git is a Map and SHA1 hash

Git is exactly a map data structure or more precisely a persistent map which maps blobs to hashes. We have demonstrated how Git is simply a hash map and with this view, its working is simplified.

OpenGenus Tech Review Team OpenGenus Tech Review Team
git

Git is an Onion

Git version control is like an onion and has 4 layers namely a Distributed Revision Control System, a Revision Control System, a Simple Content Tracker and a Persistent Map. We have demonstrated its working based on the layers

OpenGenus Tech Review Team OpenGenus Tech Review Team
OpenGenus IQ © 2025 All rights reserved â„¢
Contact - Email: team@opengenus.org
Primary Address: JR Shinjuku Miraina Tower, Tokyo, Shinjuku 160-0022, JP
Office #2: Commercial Complex D4, Delhi, Delhi 110017, IN
Top Posts LinkedIn Twitter
Android App
Apply for Internship