Install fossil:

brew install fossil

Make a place for your fossil files to live:

mkdir ~/fossil

clone the repo down to your machine:

fossil clone https://sarah:<PASSWORDHERE> ~/fossil/sarahlearning.fossil

make a place for the checkout:

 mkdir -p ~/src/cppClass

Go there:

 cd ~/src/cppClass
Open the repository into ~/src/cppClass:
fossil open ~/fossil/sarahlearning.fossil

Now put all of your homework and stuff here, and use the fossil command to add/remove files:

fossil add file...
fossil rm file...
fossil addremove file...

and to commit your changes:

fossil commit
fossil sync

More about Fossil is available at their page:

On 2018-03-06 03:08:01 UTC zie added:
Why use an SCM/VCS

On 2018-03-06 03:39:20 UTC zie added:
Learning CPP resources: LearningCPP wiki page