When doing:
>git status
It shows a big list of .pyc files under \"untracked files\". I don\'t want it to show these, as it adds noise.<
add
*.pyc
in .gitignore file
and run this
git config --global core.excludesfile .gitignore
which worked for me