When we use RStudio to create a project or a package, there is an option to add git. If we choose it, there is automatically a git ignore file created. It ignores the .RData file to help us push our project to GitHub without trouble (file size > 50MB is a trouble).
But sometimes I find a file named by .RDataTmp created, I hope it automatically is added in the git ignore file.