It looks it failed here:
fatal: unable to access 'https://github.com/discourse/discourse.git/': gnutls_handshake() failed: Error in the pull function.
This might help you: Fresh install failing - gnutls_handshake() failed: Error in the pull function - #12 by Sisko