Reset and sync local respository with remote branch