Authenticating with a password with git over http works again. More information here.
Move function `create_traj_list` to a separate file.