Git repository download/update mechanism. Package refactoring. Added ref property to Commit class.