Added restoration of git-folder