git hidden directory is now backed up and restored properly