if git show-ref --quiet <branch_name>; then
	echo branch exists
fi