IsDetachedHead method fixed
Problem with "Push all tags" fixed. Closes #1889
Dont commit merge now generic option. Closes #1882
Current checkout detection fixed for bare repositories