#!/bin/bash git clone "$remote" "$path" cd "$path" git reset --hard "$checkout" cd -