Removed git stuff. Restored detection.