added pull option

Added pull and branch changing option