Update README for git operations
Merge pull request #1042 from taiwen/develop

Variable '$messages' was overwritten.
Code cleaning