Install a git client (Eclipse has one, but from memory it’s not straightforward to use), GitHub Desktop (easy to use, the official client from GitHub, it lacks a lot of functionality though) if you must. This solves everything for you. It makes sure you have a constant backup of everything with version control.