Fixed missing ']' and remember that 'mv -rf' is not valid, fixed that in
the git sync script template.