Add encode and escape scripts - fix spelling error in git sync script