To fetch from both origin and integration
for example.
Fixing re-declaration and wrong comparison

Also displaying more feedback when a wrong branch or
hash was provided.
Fix regex that gets the siteversion

Getting only the first regex match and including .XX
also applying the same 1 line limit to $sitebranch.