Revert "Revert "Update .gitignore""

This reverts commit 0d6cec87e0c1c1fef9ccb0e618ed5962abc01a1a.
Revert "Revert "Some changes for git generated stuff.""

This reverts commit 71c6242a7224a20e37f9b64c28de58028f09b889.