clone-with-branches bash script