o avoid certain file to be commited into git, simply by running the following command
git checkout -- <YOUR FILE NAME>