Some improvements

You don't need to upload logs and temp files to your git repo.
The solution is to create a .gitignore file.

Always is good to create .ruby-version and .ruby-gemset