$ git clone --depth 1 https://github.com/dogescript/dogescript.git $ git remote set-branches origin 'remote_branch_name' $ git fetch --depth 1 origin remote_branch_name $ git checkout remote_branch_name