Where is the local repository located?

.git is a place where local repository is stored (not the working directory!)

Working directory usually is a directory where the .git directory is placed


The Working Directory is wherever your files are on your local machine. The Local Repository is the .git/ subdirectory inside the Working Directory. The Index is a conceptual place that also physically resides in the .git/ subdirectory.


Working directory is your code directory

Local repository is .git folder in Working directory

Remote repository is bare repository on server or in the filesystem

Tags:

Git