moved ask if public to seperate function, call ask_public in create register and fork, asks for public before cloning
use deprecated set-upstream option for pre 1.8 versions of git
Merge pull request #169 from mortardata/cngan_public_before_clone

[#64752276] Cngan public before clone