Gitlab has been updated. More info here.
If the server is 'localhost', just copy the file without authentication