run(f'"{git}" -C {dir} fetch',f"Fetching updates for {name}...",f"Couldn't fetch {name}")
run(f'"{git}" -C {dir} checkout {commithash}',f"Checking out commint for {name} with hash: {commithash}...",f"Couldn't checkout commit {commithash} for {name}")
return
run(f'"{git}" clone "{url}""{dir}"',f"Cloning {name} into {dir}...",f"Couldn't clone {name}")