creating connection between repository and the command line