Finally figured out how to ignore and already committed file (settings.py) using git rm --cached steamwebapi/settings.py.