Matching git url with regex to get repo slug