refactor(core) Extract user and repo name from git url