adds option for checking current branch against target
resets permissions on lang/