Germany for the first time on Friday recognised it had committed genocide in Namibia during its colonial occupation, with Berlin promising financial support worth more than one billion euros to aid projects in the African nation.