Bugfix: remove --depth 1 from git clone as this prevents using remote branches.