The basics:
You can think of there being two copies of the repository, one local (on your computer) and the other remote (in the cloud). The local environment has three pieces, your working directory, a staging area and your local repository. You won't see anything except your working directory, which might include files being tracked in the repository as well as other files that you haven't brought into the repository. You can ask git to tell you what files that you have committed to the repository have changed and what files in the directory aren't part of the repository.
Once you have made changes to a file and want to commit these changes, you'll first "stage" the commits. The line command for this is git add <filename>, but github desktop allows you to click on a box to identify files you want to add to a commit and then you add a comment and add and commit by clicking on "Commit to master". If you make changes to a file that you don't want to keep, you can right click on the file name and select "discard changes." That will pull the old version of the file from the (invisible to you) local repository into your working directory.
After you have committed your changes to the local repository, you still need to push those changes to github for them to be in the remote repository.