git root issue with spaces in folder/file name

Handled spaces in file and folder names for git root.