Eu provavelmente faria algo como
#! /bin/bash
names=(Stable Developement)
versions=(master 1.1.0)
select option in "${names[@]}" Quit ; do
if (( REPLY > 0 && REPLY <= 1 + ${#names[@]} )) ; then
if [[ $option != Quit ]] ; then
git checkout ${versions[REPLY-1]}
fi
exit
else
echo Invalid reply.
fi
done