When you work on a project with Git, sometimes you don't want Git to track certain files, what you can do is edit
.gitignorefile so that Git knows the files listed in
.gitignoreshould not be tracked. You should use
.gitignoreto keep annoying irrelevant files out of your development process.
Check out link here for more elaborated explanation: http://bit.ly/geMoTy