Move git and url checks into pkg

This moves the IsGIT and IsURL functions out of the generic `utils`
package and into their own `urlutil` pkg.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Update code for use of urlutil pkg

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Merge pull request #9324 from crosbymichael/git-urls

Move IsGIT and IsURL to urlutil package