implemented 'freeze' command for git repositories