added checks for git repository and github to the overview

Change-Id: I43884a2a154c4bf462d862fc63d6ca67e4fc89a2
simplified code

Change-Id: Ibefebaf987c6366937162a6144f021127786250f