you make your first commit ignoring files we don' need git to track every file in the projectso we'll tell git to ignore some files make file called gitignore in the folder that contains manage py notice that this filename begins with dot and has no file extension here' what goes in gitignoregitignore ll_env__pycache__sqlite we tell git to ignore the entire directory ll_envbecause we can re-create it automatically at any time we also don' track the __pycache__ directorywhich contains the pyc files that are created automatically when django runs the py files we don' track changes to the local databasebecause it' bad habitif you're ever using sqlite on serveryou might accidentally overwrite the live database with your local test database when you push the project to the server note if you're using python replace __pycache__ with pyc because python doesn' create __pycache__ directory committing the project we need to initialize git repository for learning logadd all the necessary files to the repositoryand commit the initial state of the project here' how we do thatu (ll_env)learning_loggit init initialized empty git repository in /home/ehmatthes/pcc/learning_loggitv (ll_env)learning_loggit add (ll_env)learning_loggit commit -am "ready for deployment to heroku [master (root-commitdbc ready for deployment to heroku files changed insertions(+create mode gitignore create mode procfile --snip-create mode users/views py (ll_env)learning_loggit status on branch master nothing to commitworking directory clean (ll_env)learning_logat we issue the git init command to initialize an empty repository in the directory containing learning log at we use the git add commandwhich adds all the files that aren' being ignored to the repository (don' forget the dot at we issue the command git commit -am commit messagethe - flag tells git to include all changed files in this commitand the - flag tells git to record log message