git GIT Common Commands and How Tos To Discard Changes which have not yet been indexed to server , run this command : git stash save --keep-index git stash drop To Clone Git Repo on the local filesystem git clone file:////path/to/repo/project.git/ .