Is it bad practice to install WordPress by cloning from the official GitHub repo?

Is it bad practice to install WordPress by cloning from the official GitHub repo?

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)