Git & Github
Git is a distributed version control system (DVCS) designed to track changes in software projects safely and efficiently.
At its core, Git records how a project evolves over time. It preserves history, enables collaboration, and allows teams to experiment without losing control. Every change becomes part of a structured timeline rather than an informal sequence of file replacements.
Repositories can exist locally on a developer’s machine or remotely on hosting platforms such as GitHub, GitLab, or Bitbucket.
This means the current directory is not a git repository.
Get ChiragMaini’s stories in your inbox
Join Medium for free to get updates from this writer.
How to make your current directory as a git repository?
git initWhat is .git?
The .git folder is a hidden directory created at the root of a project when you initialize a Git repository. It acts as the local database and "brain" of your version control system, storing all the configuration, metadata, and historical snapshots required to track your project's changes.






