Understand different Git states and the corresponding file states

Photo by Mohammad Rahmani from Unsplash.

There are four Git states, namely the local working directory, the staging area, the local repository, and the remote repository.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Lynn Kwong

Lynn Kwong

439 Followers

I’m a Software Developer (https://www.superdataminer.com) keen on sharing thoughts, tutorials, and solutions for the best practice of software development.