Getting Started with p5.js III

Initialize a Git repository

In your terminal move to your p5yourName folder by typing

cd p5yourName

Next, initialize a Git repository in the p5 folder by typing "git init".

Then, open the folder p5yourName in your editor and set up a ".gitignore" file with the contents: libraries. Don't forget to Save the file!

In your terminal, check your Git repository's status git status.

Add the files to the staging area "git add ."

Check again with a git status

Commit the current staging area to your Git repository 'git commit -m "p5 Initial Setup"'.

Check again with a git status