Setting up a Git repository
- Open command prompt or terminal
- Let’s create a project directory
mkdir pythonapp
- Let’s get inside the project directory
cd pythonapp
- Now, let’s read a sample file
echo "this is a Pythonapp" > app.py
- And now, let’s initialize local git repository
git init
- To checking what’s being tracked by git
git status
Right now git is not tracking changes to any files