added git support and fixed logic for increasing releases