git-flask-python : Is it safe to remove pycache and flask session folders
In layman language, YES because these things can be generated again by Flask thus it's good practise to not push it to a repo and generate locally individually.
I had implemented my project along with daily commits to Github, which is a website implemented using Flask and Python, while daily commits I used to    git add --a, thus it has added all folders like __pycache__ and flask_session. I think it is safe to delete those from my Github, Is it so? If not why?