Navigate to the desired directory you wish to work on and type the following commands in a terminal.
$ git init
$ git remote add origin PATH_TO_REPOSITORY # i.e. git@github.com:username/repository-name.git
$ git fetch origin
$ git reset origin/master # Required when the versioned files existed in path before "git init" of this repo.
$ git checkout -t origin/master